package com.chen.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.bean.BaseEntity;
import lombok.Data;

import java.util.Date;

@TableName("talker_user")
@Data
public class UserEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //用户名称
    private String username;

    //password 暂时用不到
    private String password;

    //性别：0 未知， 1男， 1 女
    private Byte gender;

    //生日
    private Date birthday;

    //用户层级 0 普通用户，1 VIP用户 暂时用不到
    private Byte userLevel;

    //微信昵称
    private String nickname;

    //手机号
    private String mobile;

    //微信头像
    private String avatar;

    //微信登录openid
    private String weixinOpenid;

    //微信返回的sessionKey
    private String sessionKey;

}
